Part 2 of replication materials for Michael Tomz and Jessica Weeks, “Race, 
Democracy, and Public Support for War," American Political Science Review
Version: May 9, 2025

Part 2 contains all items necessary to replicate our reanalysis of word
embeddings and produce Figure 2.

In addition to this readme-Part2.txt file, Part 2 contains the following items:

The dataset of pretrained word vectors used by RPP (glove_200d_vectors.rds)

R code that prepares and analyzes the dataset (embeddings_TW.R). We ran the
analysis using R version 4.4.1 and the following R packages: lsa (version 0.73.3), 
dplyr (version 1.1.4), and ggplot2 (version 3.5.1). We confirmed that the
code runs on both Mac OS Sonoma 14.3.1 and Windows 11 Pro.

The figure produced by the above R code (Figure2-WordEmbeddingsReanalysis.pdf)
